package com.ccsoft.atools.dao;

import com.ccsoft.atools.model.Cash;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CashMapper {
    int deleteByPrimaryKey(Integer iid);

    int insert(Cash record);

    int insertSelective(Cash record);

    Cash selectByPrimaryKey(Integer iid);

    int updateByPrimaryKeySelective(Cash record);

    int updateByPrimaryKey(Cash record);

    List<Cash> selectAll();

    int setState(@Param("iid") int iid, @Param("state") int state);
}